package com.zqx.tokenauth.enums;

import lombok.Getter;

@Getter
public enum ResultEnum implements CodeEnum {
    //封装token的 code和信息
    USERNAME_OR_PASSWORD_ERROR(101L,"用户名或密码错误"),
    ;

    private Long code;

    private String message;

    ResultEnum(Long code, String message) {
        this.code = code;
        this.message = message;
    }
}
